package com.vogue.supplymall.common.domain.dto;

import java.io.Serializable;
import java.util.Map;

/**
 * The type Order detail info.
 *
 * @aouthor: zhangliang
 * @date: Create in 2018-02-06
 */
public class OrderDetailInfo implements Serializable {
    /**
     * 订单ID
     */
    private Long orderid;
    /**
     * 订单状态id
     */
    private Long statusid;
    /**
     * 买家卖家区分
     * 0：买家 1：卖家
     */
    private Integer buyerSellerType;
    /**
     * 订单取消原因
     * 1:操作有误(地址选错,商品选错) 2:重复下单 3:价格有变 4:不想买了 5:其他原因 6:自动取消
     */
    private Integer cancelcause;
    /**
     * 其他原因
     */
    private String othercauser;
    /**
     * 订单状态 0:待付款 1:待接单(已付款) 2:待发货(已付款)3:待收货(已发货) 4:已完成(已收货)
     */
    private Integer orderstatus;
    /**
     * 订单按钮动作 1:待付款 2:待接单(已付款) 3:待发货(已付款) 4:待收货(已发货) 5:已完成(已收货)
     */
    private Integer action;
    /**
     * 运费
     */
    private String freight;
    /**
     * 卖家是否同意买家申请取消订单
     */
    private Boolean isAgreeCancel;
    /**
     * 物流信息
     */
    private Map<String, String> express;
    /**
     * 上传凭证信息
     * {oid,opid,url,delid}
     */
    private Map<String, String> uploadInfo;

    public Long getOrderid() {
        return orderid;
    }

    public void setOrderid(Long orderid) {
        this.orderid = orderid;
    }

    public Integer getOrderstatus() {
        return orderstatus;
    }

    public void setOrderstatus(Integer orderstatus) {
        this.orderstatus = orderstatus;
    }

    public Integer getBuyerSellerType() {
        return buyerSellerType;
    }

    public void setBuyerSellerType(Integer buyerSellerType) {
        this.buyerSellerType = buyerSellerType;
    }

    public Integer getAction() {
        return action;
    }

    public void setAction(Integer action) {
        this.action = action;
    }

    public String getFreight() {
        return freight;
    }

    public void setFreight(String freight) {
        this.freight = freight;
    }

    public Long getStatusid() {
        return statusid;
    }

    public void setStatusid(Long statusid) {
        this.statusid = statusid;
    }

    public Boolean getIsAgreeCancel() { return isAgreeCancel; }

    public void setIsAgreeCancel(Boolean isAgreeCancel) { this.isAgreeCancel = isAgreeCancel; }

    public Integer getCancelcause() {
        return cancelcause;
    }

    public void setCancelcause(Integer cancelcause) {
        this.cancelcause = cancelcause;
    }

    public Boolean getAgreeCancel() {
        return isAgreeCancel;
    }

    public void setAgreeCancel(Boolean agreeCancel) {
        isAgreeCancel = agreeCancel;
    }

    public String getOthercauser() {
        return othercauser;
    }

    public void setOthercauser(String othercauser) {
        this.othercauser = othercauser;
    }

    public Map<String, String> getExpress() {
        return express;
    }

    public void setExpress(Map<String, String> express) {
        this.express = express;
    }

    public Map<String, String> getUploadInfo() {
        return uploadInfo;
    }

    public void setUploadInfo(Map<String, String> uploadInfo) {
        this.uploadInfo = uploadInfo;
    }
}
